%!TEX root = ../thesis.tex
% ******************************* Thesis Appendix B ********************************

\chapter{How to replicate results}

Install PyTorch from the official website (\url{https://pytorch.org/})

\begin{verbatim} 

git clone https://github.com/kumar-shridhar/PyTorch-BayesianCNN
pip install -r requirements.txt

\end{verbatim}
\textit{cd} into respective folder/ task to replicate (Image Recognition, Super Resolution or GAN)

\subsection{Image Recognition}

\begin{verbatim} 
python main_Bayesian.py
\end{verbatim}

to replicate the Bayesian \acp{cnn} results.

\begin{verbatim} 
python main_nonBayesian.py
\end{verbatim}

to replicate the Frequentist \acp{cnn} results.\\

\\For more details, read the README sections of the repo : \url{https://github.com/kumar-shridhar/PyTorch-BayesianCNN}


